nav ul ul {
	display: none;
}

	nav ul li:hover > ul {
		display: block;
	}

nav ul {
	background: #050052;
	background: linear-gradient(top, #ACD6FF 0%, #050052 100%);
	background: -moz-linear-gradient(top, #ACD6FF 0%, #050052 100%);
	background: -webkit-linear-gradient(top, #ACD6FF 0%,#050052 100%);
	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
	padding: 0 20px;
	border-radius: 10px;
	list-style: none;
	position: relative;
	display: inline-table;
}
	nav ul:after {
		content: ""; clear: both; display: block;
	}
	
nav ul li {
	float: left;
}
	nav ul li:hover {
		background: #363274;
		background: linear-gradient(top, #ACD6FF 0%, #050052 80%);
		background: -moz-linear-gradient(top, #ACD6FF 0%, #050052 80%);
		background: -webkit-linear-gradient(top, #ACD6FF 0%,#050052 80%);
	}
	
	nav ul li a {
		display: block; padding: 25px 40px;
		color: #ffffff; text-decoration: none;
	}
	
	nav ul ul {
	background: #050052; border-radius: 0px; padding: 0;
	position: absolute; top: 100%;
}
	nav ul ul li {
		float: none;
		border-top: 1px solid #000000;
		border-bottom: 1px solid #000000;
		position: relative;
	}